import pprint
str='yuioihghioigfyytdftyuioihgvhjknnmqwertyuioplkjhgfdsazxcvbnm'
ccount={}
for i in str:
  ccount.setdefault(i,0)
  ccount[i]=ccount[i]+1
pprint.pprint(ccount)
